package com.jushu.storbox.entities;

import java.io.Serializable;

public class TeamSpaceMemberInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1324582100754331279L;
	
	/** User或者群组的ID */
	private String userId;
	
	/** 团队空间成员关系ID */
	private String memberShipsId;
	
	/**
	 * 所属团队空间ID
	 * */
	private String teamSpaceId;
	
	
	/** 常量字符串："user"或者"group" */
	private String type;
	
	/** 用户或者群组名称 */
	private String name;
	
	/** 用户名称 */
	private String loginName;
	
	/** 用户或者群组名称描述 */
	private String description;

	/** 团队空间成员角色，包含admin,manager,member */
	private String teamRole;
	
	/** 权限角色名称，包含auther,editor,viewer. */
	private String role;
	


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMemberShipsId() {
		return memberShipsId;
	}

	public void setMemberShipsId(String memberShipsId) {
		this.memberShipsId = memberShipsId;
	}

	public String getTeamRole() {
		return teamRole;
	}

	public void setTeamRole(String teamRole) {
		this.teamRole = teamRole;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getTeamSpaceId() {
		return teamSpaceId;
	}

	public void setTeamSpaceId(String teamSpaceId) {
		this.teamSpaceId = teamSpaceId;
	}

	@Override
	public String toString() {
		return "TeamSpaceMemberInfo [userId=" + userId + ", memberShipsId="
				+ memberShipsId + ", teamSpaceId=" + teamSpaceId + ", type="
				+ type + ", name=" + name + ", loginName=" + loginName
				+ ", description=" + description + ", teamRole=" + teamRole
				+ ", role=" + role + "]";
	}

	
	
}
